package pers.lmd.domain.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @Author lmd
 * @Date 2023/5/1 4:23
 */
@Data
public class TeacherDTO {
    @Schema(description = "姓名",requiredMode = Schema.RequiredMode.REQUIRED)
    private String name;

    @Schema(description = "年龄",requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer age;

    @Schema(description = "性别",requiredMode = Schema.RequiredMode.REQUIRED)
    private String sex;

    @Schema(description = "手机",requiredMode = Schema.RequiredMode.REQUIRED)
    private String phone;

    @Schema(description = "邮箱",requiredMode = Schema.RequiredMode.REQUIRED)
    private String email;
}
